managed_app

Configuration for Managed Application resource.

Read/write properties

app_netfuncs_config<network_function_config[]>

Network function related config for the application.

app_networking_data<String>

app networking blob that can be used by placement logic.

is_app_placed<Boolean>

1 if app is placed on some NS, else 0..

id<String>

Dummy Id needed for input get requests.

container_manager<String>

Container orchestration system.

networking_manager<String>

System used to setup the network.

lb_role<String>

Application is applied only on the devices with the same Lb role.

dns_manager<String>

Domain Name Service manager.

app_dns<String>

Doman name service for Application.

appname<String>

Name of the Application.

app_id<String>

Id for the managed application.

Operations

NOTE: In request payload, Mandatory parameters are marked red and bold.

The following parameters can be used in the nitro request :

onerror   <String_value>

Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE

addmodifyget (all)delete

add

URL:https://<MGMT-IP>/nitro/v2/config/managed_app?onerror=<String_value>

HTTPS Method:POST

Request Headers:

Content-Type:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Request Payload:JSON

{"managed_app": {
      "container_manager":<String_value>,
      "dns_manager":<String_value>,
      "networking_manager":<String_value>,
      "app_dns":<String_value>,
      "app_networking_data":<String_value>,
      "id":<String_value>,
      "app_id":<String_value>,
      "lb_role":<String_value>,
      "is_app_placed":<Boolean_value>,
      "app_netfuncs_config":[{
      "parent_name":<String_value>,
      "netfunc_params":<network_function_param_value>,
      "id":<String_value>,
      "parent_id":<String_value>,
      "type":<String_value>}]
,
      "appname":<String_value>}}

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "managed_app":[{
      "app_netfuncs_config":[{
      "parent_name":<String_value>,
      "id":<String_value>,
      "type":<String_value>,
      "netfunc_params":<network_function_param_value>,
      "parent_id":<String_value>}],
      "app_networking_data":<String_value>,
      "is_app_placed":<Boolean_value>,
      "id":<String_value>,
      "container_manager":<String_value>,
      "networking_manager":<String_value>,
      "lb_role":<String_value>,
      "dns_manager":<String_value>,
      "app_dns":<String_value>,
      "appname":<String_value>,
      "app_id":<String_value>}]}

modify

URL:https://<MGMT-IP>/nitro/v2/config/managed_app/app_id_value<String>

HTTPS Method:PUT

Request Headers:

Content-Type:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Request Payload:JSON

{"managed_app":{
      "app_id":<String_value>,
      "networking_manager":<String_value>,
      "dns_manager":<String_value>,
      "app_dns":<String_value>,
      "container_manager":<String_value>,
      "lb_role":<String_value>,
      "app_netfuncs_config":[{
      "parent_name":<String_value>,
      "netfunc_params":<network_function_param_value>,
      "id":<String_value>,
      "parent_id":<String_value>,
      "type":<String_value>}]
,
      "is_app_placed":<Boolean_value>,
      "appname":<String_value>,
      "app_networking_data":<String_value>,
      "id":<String_value>}}

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "managed_app":[{
      "app_netfuncs_config":[{
      "parent_name":<String_value>,
      "id":<String_value>,
      "type":<String_value>,
      "netfunc_params":<network_function_param_value>,
      "parent_id":<String_value>}],
      "app_networking_data":<String_value>,
      "is_app_placed":<Boolean_value>,
      "id":<String_value>,
      "container_manager":<String_value>,
      "networking_manager":<String_value>,
      "lb_role":<String_value>,
      "dns_manager":<String_value>,
      "app_dns":<String_value>,
      "appname":<String_value>,
      "app_id":<String_value>}]}

get (all)

URL:https://<MGMT-IP>/nitro/v2/config/managed_app

Query-parameters:

filter

https://<MGMT-IP>/nitro/v2/config/managed_app?filter=property-name1:property-value1,property-name2:property-value2

Use this query-parameter to get the filtered set of managed_app resources configured on the system. You can set a filter on any property of the resource.

pagesize=#no&pageno=#no

https://<MGMT-IP>/nitro/v2/config/managed_app?pagesize=#no&pageno=#no

Use this query-parameter to get the managed_app resources in chunks.

count

https://<MGMT-IP>/nitro/v2/config/managed_app?count=yes

Use this query-parameter to get the count of managed_app resources.

HTTPS Method:GET

Request Headers:

Accept:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "managed_app":[{
      "app_netfuncs_config":[{
      "parent_name":<String_value>,
      "id":<String_value>,
      "type":<String_value>,
      "netfunc_params":<network_function_param_value>,
      "parent_id":<String_value>}],
      "app_networking_data":<String_value>,
      "is_app_placed":<Boolean_value>,
      "id":<String_value>,
      "container_manager":<String_value>,
      "networking_manager":<String_value>,
      "lb_role":<String_value>,
      "dns_manager":<String_value>,
      "app_dns":<String_value>,
      "appname":<String_value>,
      "app_id":<String_value>}]}

delete

URL:https://<MGMT-IP>/nitro/v2/config/managed_app/app_id_value<String>

HTTPS Method:DELETE

Request Headers:

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value> }